jQuery(document).ready(function(){
	
var Arr = new Array();
Arr = ['text'];
for (i = 0;i < Arr.length;i++)	
{
	
	
	CKEDITOR.replace( Arr[i] ,
			 {
		height : 500,
		filebrowserBrowseUrl : url('stuff/editor/ckfinder/ckfinder.html'),
        filebrowserImageBrowseUrl : url('stuff/editor/ckfinder/ckfinder.html?Type=Images'),
        filebrowserFlashBrowseUrl : url('stuff/editor/ckfinder/ckfinder.html?Type=Flash'),
        filebrowserUploadUrl : url('stuff/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'),
        filebrowserImageUploadUrl : url('stuff/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'),
        filebrowserFlashUploadUrl : url('stuff/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'),
        
        
	    toolbar :
		    [
		        ['Source'],
		        ['PasteFromWord','RemoveFormat'],
		        ['Bold','Italic','Underline','Strike'],
		        ['NumberedList','BulletedList'],
		        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		        ['Link','Unlink'],
		        ['Image','Flash','Table', 'HorizontalRule']
		    ]
        
    });
}	

	CKEDITOR.editorConfig = function( config )
	{
	    config.language = 'ru';
	};

	
 });



//['Source','-','Save','NewPage','Preview','-','Templates'],
//['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
//['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
//'/',
//['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
//['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
//['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
//['Link','Unlink','Anchor'],
//['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
//'/',
//['Styles','Format','Font','FontSize'],
//['TextColor','BGColor'],
//['Maximize', 'ShowBlocks','-','About']
